package com.kesh.ltank.screens;

import com.android.framework.Game;
import com.android.framework.Graphics;
import com.android.framework.Screen;
import com.kesh.ltank.game.GlobalVars.ScreenImages;

public class SplashScreen extends Screen {
	public SplashScreen(Game game) {
		super(game);
	}

	@Override
	public void update(float deltaTime) {
		Graphics g = game.getGraphics();
		ScreenImages.Splash.loadImage(g);
		game.setScreen(new LoadingScreen(game));
	}

	@Override
	public void paint(float deltaTime) {
		Graphics g = game.getGraphics();
		g.drawImage(ScreenImages.Splash.image, 0, 0);
	}

	@Override
	public void pause() {

	}

	@Override
	public void resume() {

	}

	@Override
	public void dispose() {

	}

	@Override
	public void backButton() {

	}
}